import {get, post_json} from "../utils/request";

/**
 * 登录
 * @param params
 * @returns {*}
 */
export function login(params) {
    return post_json('admin/sysUser/login', params)
}

/**
 * 注册
 * @param params
 * @returns {*}
 */
export function register(params) {
    return post_json('admin/sysUser/register', params)
}

/**
 * 退出登录
 * @param params
 * @returns {*}
 */
export function logout(params) {
    return get('admin/sysUser/logout', params)
}



